package cn.bupt.adt.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Service;

import cn.bupt.adt.entity.autogenerate.Institution;
import cn.bupt.adt.model.InstitutionModel;


@Service
public interface IInstitutionService {
	public boolean addInstitution(Institution ins, HttpServletRequest request);
	public boolean modifyInstitution(Institution ins);
	public boolean removeInstitution(Institution ins);
	public List<InstitutionModel> getAllInstitutions();
	public boolean deleteInstitutionById(int id);
	public InstitutionModel getInstitutionById(int id);
	public boolean modifyInstitution(Institution ins, HttpServletRequest request);
	public List<InstitutionModel> getInstitutionByFuzzyName(String content);
	public List<InstitutionModel> getInstitutionByPhone(String content);
	String getInstitutionNameById(Integer id);
	InstitutionModel getInstitutionByAppId(int id);
}
